package com.aruba.factory;

import com.aruba.bean.Job;
import org.springframework.beans.factory.FactoryBean;

public class JobFactory implements FactoryBean<Job> {
    @Override
    public Job getObject() throws Exception {
        Job job = new Job(5, "MANAGER", "MANAGER");
        return job;
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }
}
